projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d0a3c
)
Don't warn about missing brances on macOS
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 23 May 2017 19:18:35 +0000
(21:18 +0200)
committer
Philipp Stephani
<phst@google.com>
Tue, 23 May 2017 19:18:35 +0000
(21:18 +0200)
On macOS, removing -Wmissing-braces is not enough; the warning has to
be disabled explicitly.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 12e44d949c58b6c2b01ffdb4b922337ad0cc8271..6d23b5d214e320b9821906f2cac79a2a3c8ddfc1 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-986,6
+986,7
@@
AS_IF([test $gl_gcc_warnings = no],
# More things that clang is unduly picky about.
if test $emacs_cv_clang = yes; then
+ gl_WARN_ADD([-Wno-missing-braces])
gl_WARN_ADD([-Wno-tautological-compare])
gl_WARN_ADD([-Wno-tautological-constant-out-of-range-compare])
fi